﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-8-27
Description:SenderList三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class SenderListManager
	{
		public static int AddSenderList(SenderList senderList)
		{
			return SenderListService.AddSenderList(senderList);
		}
		public static int DeleteSenderListByid(long id)
		{
			return SenderListService.DeleteSenderListById(id);
		}
		
		public static int ModifySenderListByid(SenderList senderList)
		{
			return SenderListService.ModifySenderListByid(senderList);
		}
		
		
		public static IList<SenderList> GetAllSenderLists()
		{
			return SenderListService.GetAllSenderLists();
		}
		public static SenderList GetSenderListByid(long id)
		{
			return SenderListService.GetSenderListByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<SenderList> ShowSenderListForPage(int curragePage,int NUMCount)
		{
			return 	SenderListService.ShowSenderListForPage(curragePage,NUMCount);
		}
	}
}
